package com.whf.android.jar.constants;


/**
 * 拖拽监听排序
 *
 * @author Administrator
 */
public interface OnItemTouchListener {

    /**
     * 拖拽监听
     *
     * @param fromPosition:
     * @param toPosition:
     * @return boolean
     */
    boolean onMove(int fromPosition, int toPosition);

    /**
     * 划过
     *
     * @param position:
     */
    void onSwiped(int position);

    /**
     * 手指松开刷新adapter
     */
    void clearView();
}
